It was a judicial organ established by the Crown of Castile in its different regions or viceroyalties. They existed in Spain, America and even in the Philippines.